package com.nxmu.hire.common.util;

import java.io.Serializable;

public class Page implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/** 当前页 **/
    private int pageNum;
    /** 当前页条数 **/
    private int pageSize;
    /** 每页记录数 **/
    private int size;
    /** 总页数 **/
    private int pages;
    /** 上一页 **/
    private int prePage;
    /** 下一页 **/
    private int nextPage;
    /** 是否有下一页 **/
    private boolean hasPreviousPage;
    /** 是否有上一页 **/
    private boolean hasNextPage;
    /** 是否第一页 **/
    private boolean isLastPage;
    /** 是否最后一页 **/
    private boolean isFirstPage;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getPrePage() {
        return prePage;
    }

    public void setPrePage(int prePage) {
        this.prePage = prePage;
    }

    public int getNextPage() {
        return nextPage;
    }

    public void setNextPage(int nextPage) {
        this.nextPage = nextPage;
    }

    public boolean isHasPreviousPage() {
        return hasPreviousPage;
    }

    public void setHasPreviousPage(boolean hasPreviousPage) {
        this.hasPreviousPage = hasPreviousPage;
    }

    public boolean isHasNextPage() {
        return hasNextPage;
    }

    public void setHasNextPage(boolean hasNextPage) {
        this.hasNextPage = hasNextPage;
    }

    public boolean isLastPage() {
        return isLastPage;
    }

    public void setLastPage(boolean lastPage) {
        isLastPage = lastPage;
    }

    public boolean isFirstPage() {
        return isFirstPage;
    }

    public void setFirstPage(boolean firstPage) {
        isFirstPage = firstPage;
    }
}
